//
//  VisitorTest.m
//  LearnObjectiveC
//
//  Created by client on 2017/9/8.
//  Copyright © 2017年 吴可高. All rights reserved.
//

#import "VisitorTest.h"
#import "MyVisitor.h"
#import "MySubject.h"

@implementation VisitorTest

-(void)staticVisitor
{
    Visitor * vistior = [[MyVisitor alloc]init];
    Subject * subject = [[MySubject alloc]init];
    [subject accept:vistior];
}

@end
